package com.dq.Service;

import com.dq.Pojo.Student;
import com.github.pagehelper.PageInfo;
import org.apache.poi.ss.formula.functions.Intercept;

import java.util.List;

public interface StuService {
    void addstu(Student student);

    Student findstu(Integer id);

    void update(Student student);

    PageInfo<Student> findAll(Integer pageNum, Integer pageSize, String name, String stuno);

    void delete(Integer id);

    List<Student> findByclassid(Integer classId);
}
